<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
{{assign var="type" value='type'|C}}
{{assign var="sex" value='sex'|C}}
{{assign var="title" value=$type[$smarty.get.type]}}
{{assign var="app" value='listing'}}
{{assign var="table" value='datas'}}
{{assign var="act" value='modify'}}
<title>{{$title}} - {{'admin|admin_site_name'|C|default:'后台管理'}}</title>
{{include file="include/base.html"}}
{{include file="{{$smarty.const.PLUG}}chosen/chosen.html"}}
{{include file="{{$smarty.const.PLUG}}drag/drag.html"}}
{{include file="{{$smarty.const.PLUG}}verify/verify.html"}}
</head>

<body>

	{{include file="include/sidebar.html"}}

	<div class="body_right">
	<div id="content">
	<div class="search">
		<ul class="bread">
			<li>◆ {{$title}}信息 －> {{$result.title|default:'查看'}}</li>
		</ul>
	</div>
			
		<!--内容 S-->
		<form action="index.php?app={{$app}}&act=save" name="form" class="verify" method="post">
		<input type="hidden" name="id" value="{{$result.id}}"/>
		<input type="hidden" name="item" value="{{$item}}"/>
		<table class="table table-bordered tablest modify">
		{{if $smarty.get.type == '0'}}
			<tbody>
				<tr>
					<td width="10%">姓名：</td>
					<td width="20%">{{$result.username}}</td>
					<td style="text-align:right">性别：</td>
					<td width="15%">{{$sex[$result.sex]}}</td>
					<td rowspan="4" colspan="2" width="20%"  style="text-align:center"><img src="{{$result.photo|photo}}" width="110px" height="160px;"></td>
				</tr>
				<tr>
					<td width="10%">出生日期：</td>
					<td width="20%">{{$result.params.birthdate}}</td>
					<td style="text-align:right">民族：</td>
					<td width="15%">{{$result.params.nation}}</td>
				</tr>
				<tr>
					<td width="10%">身份证号：</td>
					<td width="20%">{{$result.params.indentify}}</td>
					<td style="text-align:right">所在二级学院：</td>
					<td width="15%">{{$result.college_name}}</td>
				</tr>
				<tr>
					<td width="10%">班级：</td>
					<td width="20%">{{$result.params.class}}</td>
					<td style="text-align:right">学号</td>
					<td width="15%">{{$result.params.number}}</td>
				</tr>
				<tr>
					<td width="10%">固定电话：</td>
					<td width="20%">{{$result.params.telephone}}</td>
					<td style="text-align:right">微信：</td>
					<td width="35%" colspan="3">{{$result.params.weixin}}</td>
				</tr>
				<tr>
					<td width="10%">手机：</td>
					<td width="20%">{{$result.mobile}}</td>
					<td style="text-align:right">电子邮箱：</td>
					<td width="35%" colspan="3">{{$result.email}}</td>
				</tr>
				<tr>
					<td width="10%">QQ：</td>
					<td width="20%">{{$result.params.qq}}</td>
					<td style="text-align:right">爱好、特长：</td>
					<td width="35%" colspan="3">{{$result.params.hobby}}</td>
				</tr>
				<tr>
					<td width="10%">联系地址及邮编：</td>
					<td colspan="5">{{$result.params.address}}</td>
				</tr>
				<tr class="ttitle">
					<td colspan="6"> >> 创业团队工作经历</td>
				</tr>
				<tr>
					<td width="10%">起止时间：</td>
					<td width="20%">{{$result.params.company_work.start_date}} 到 {{$result.params.company_work.end_date}}</td>
					<td style="text-align:right">公司名称：</td>
					<td width="35%" colspan="3">{{$result.params.company_work.name}}</td>
				</tr>
				<tr>
					<td width="10%">注册号：</td>
					<td width="20%">{{$result.params.company_work.registration}}</td>
					<td style="text-align:right">注册资金：</td>
					<td width="35%" colspan="3">{{$result.params.company_work.money}}</td>
				</tr>
				<tr>
					<td width="10%">公司所在地：</td>
					<td width="20%">{{$result.params.company_work.address}}</td>
					<td style="text-align:right">公司地址及邮编：</td>
					<td width="35%" colspan="3">{{$result.params.company_work.code}}</td>
				</tr>
				<tr>
					<td width="10%">公司类型：</td>
					<td width="20%">{{$result.params.company_work.type}}</td>
					<td style="text-align:right">经营范围：</td>
					<td width="35%" colspan="3">{{$result.params.company_work.range}}</td>
				</tr>
				<tr>
					<td width="10%">公司面积：</td>
					<td width="20%">{{$result.params.company_work.size}}</td>
					<td style="text-align:right">指导老师（在校创业填写）</td>
					<td width="35%" colspan="3">{{$result.params.company_work.teacher}}</td>
				</tr>
				<tr>
					<td width="10%">公司简介：</td>
					<td colspan="5">{{$result.params.company_work.brief}}</td>
				</tr>
				<tr>
					<td width="10%">合伙人数：</td>
					<td width="20%">{{$result.params.numbers}}</td>
					<td style="text-align:right">员工人数：</td>
					<td width="35%" colspan="3">{{$result.params.member}}</td>
				</tr>
				<tr class="ttitle">
					<td colspan="6"> >> 创业团队合伙人信息</td>
				</tr>
				<tr>
					<td style="text-align:center">姓名</td>
					<td style="text-align:center">性别</td>
					<td style="text-align:center">学校</td>
					<td style="text-align:center">院系</td>
					<td style="text-align:center">班级</td>
					<td style="text-align:center">电话</td>
				</tr>
				{{if $result.params.partner}}
				{{foreach from=$result.params.partner item=val}}
				<tr>
					<td style="text-align:center">{{$val.partner_name}}</td>
					<td style="text-align:center">{{$val.partner_sex}}</td>
					<td style="text-align:center">{{$val.partner_school}}</td>
					<td style="text-align:center">{{$val.partner_xy}}</td>
					<td style="text-align:center">{{$val.partner_class}}</td>
					<td style="text-align:center">{{$val.partner_phone}}</td>
				</tr>
				{{/foreach}}
				{{else}}
				<tr>
					<td colspan="6" style="text-align:center">暂无创业团队合伙人信息</td>
				</tr>
				{{/if}}
				<tr class="ttitle">
					<td colspan="6"> >> 创业团队期间获奖情况 </td>
				</tr>
				<tr>
					<td style="text-align:center">时间</td>
					<td style="text-align:center" colspan="2">竞赛类型</td>
					<td style="text-align:center">获奖级别</td>
					<td style="text-align:center" colspan="2">获奖金额</td>
				</tr>
				{{if $result.params.award}}
				{{foreach from=$result.params.award item=val}}
				<tr>
					<td style="text-align:center">{{$val.work_date5}}</td>
					<td style="text-align:center" colspan="2">{{$val.complete_type}}</td>
					<td style="text-align:center">{{$val.reward_type}}</td>
					<td style="text-align:center" colspan="2">{{$val.reward_money}}</td>
				</tr>
				{{/foreach}}
				{{else}}
				<tr>
					<td colspan="6" style="text-align:center">暂无创业团队期间获奖情况</td>
				</tr>
				{{/if}}
		  	</tbody>
		{{else $smarty.get.type == '1'}}
			<tr>
				<td width="15%">姓名:</td>
				<td  colspan="3">
					{{$result.username}}
				</td>
			</tr>
			<tr>
				<td>性别：</td>
				<td  colspan="3">
					{{$sex[$result.sex]}}
				</td>
			</tr>
			<tr>
				<td>年龄：</td>
				<td  colspan="3">
					{{$result.params.age}}
				</td>
			</tr>
			<tr>
				<td>出生日期：</td>
				<td  colspan="3">
					{{$result.params.birthdate}}
				</td>
			</tr>
			<tr>
				<td>民族：</td>
				<td  colspan="3">
					{{$result.params.nation}}
				</td>
			</tr>
			<tr>
				<td>党员：</td>
				<td  colspan="3">
					{{$result.params.political}}
				</td>
			</tr>
			<tr>
				<td>学历：</td>
				<td  colspan="3">
					{{$result.params.record}}
				</td>
			</tr>
			<tr>
				<td>研究方向：</td>
				<td  colspan="3">
					{{$result.params.teacher_type}}
				</td>
			</tr>
			<tr>
				<td>手机号：</td>
				<td colspan="3">
					{{$result.params.mobile}}
				</td>
			</tr>
		{{/if}}
		</table>
		</form>
		<!--内容 E-->

	<!-- 历史记录 -->
	{{if $result}}
	<div class="search">
		<h4>历史记录</h4>
		{{foreach from=$result.log.personal item=val key=key}}
			{{$key+1}}. {{$val.date}}
			{{if $val.detail!=''}}
				<i id='icon{{$key+1}}' class='btn btn-default icon-plus' onClick="return change('{{$key+1}}');"></i>
				<div id="content{{$key+1}}" style="display:none;">
					<div class="search" style="background-color:#ccffff">
						{{$val.detail|replace:'\r\n':'<br/>'}}
					</div>
				</div>
			{{/if}}<br />
		{{/foreach}}
	</div>
	{{/if}}
</div>
</div>
{{include file="{{$smarty.const.PLUG}}ueditor/ueditor.html"}}
</body>
<script type="text/javascript">
	//日志显示隐藏切换
	function change($key){
		$(document).ready(function(){
			var key = $key;
			$("#icon" + key).toggleClass('icon-minus');
			$("#content" + key).toggle();
		});
	}
</script>
</html>